<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
    <script>
        var age=20;
        console.log(age);     

        alert("我是弹出框");

        document.write("我是输出到页面");


    </script>
</body>
</html>